import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询
export const getList = (params) => axios.post(`${SERVER.RETAIL}/ttVsCertificatePost/queryPrintingOfServiceNotice`, params)
// 打印
export const getprinting = (params) => axios.post(`${SERVER.RETAIL}/ttVsCertificatePost/printingOfServiceNotice`, params)
// 上级仓库列表
export const getFactoryWarehouseList = (params) => axios.get(`${SERVER.WHOLESALES}/tmVsSubWarehouse/getWarehouseList`, {
  params
})
// 资金类型接口
export const gettmFiAccountType = (params) => axios.post(`${SERVER.WHOLESALES}/tmFiAccountType/list`, params)

// / 导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);
